#ifndef _CDOOR_H_
#define _CDOOR_H_

#include "CWeapon.h"

class CDoor : public CWeapon
{
public:
    CDoor(const char* szName);
    virtual ~CDoor();

    virtual void Init();
    virtual void OnMove(float fDeltaTime);
     virtual void OnMove();
    virtual void OnSpriteColSprite(CWeapon* pSprite);
    virtual void OnSpriteColWorldLimit(int iColSide);
};
class CTrap : public CWeapon
{
public:
    CTrap(const char* szName);
    virtual ~CTrap();

    virtual void Init() override;
    virtual void OnMove(float fDeltaTime) override;
    virtual void OnSpriteColSprite(CWeapon* pSprite) override;
    virtual void OnSpriteColWorldLimit(int iColSide) override;
};
#endif // _CDOOR_H_
